from django.conf.urls import url
from rest_framework_jwt.views import obtain_jwt_token

from . import views


urlpatterns = [
    url(r'^money_year_add/$', views.MoneyYearAdd.as_view()),
    url(r'^money_list/(?P<user_id>\d+)$', views.YearListLoad.as_view()),
    url(r'^money_list_del/(?P<pk>\d+)$', views.YearDelete.as_view()),
    url(r'^add_money/(?P<pk>\d+)$', views.AddMoney.as_view()),
    url(r'^out_money/(?P<pk>\d+)$', views.OutMoney.as_view()),
    url(r'^year_m_money/(?P<pk>\d+)$', views.YearMMoney.as_view()),


]
